home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / gcc / ixemsdk.lha / man / cat2 / getgid.0 < prev    next >
Text File  |  1996-09-01  |  1KB  |  39 lines

  1.  
  2. GETGID(2)                  UNIX Programmer's Manual                  GETGID(2)
  3.  
  4. NNAAMMEE
  5.      ggeettggiidd, ggeetteeggiidd - get group process identification
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssyyss//ttyyppeess..hh>>
  9.      ##iinncclluuddee <<uunniissttdd..hh>>
  10.  
  11.      _g_i_d___t
  12.      ggeettggiidd(_v_o_i_d)
  13.  
  14.      _g_i_d___t
  15.      ggeetteeggiidd(_v_o_i_d)
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The ggeettggiidd() function returns the real group ID of the calling process,
  19.      ggeetteeggiidd() returns the effective group ID of the calling process.
  20.  
  21.      The real group ID is specified at login time.
  22.  
  23.      The real group ID is the group of the user who invoked the program.  As
  24.      the effective group ID gives the process additional permissions during
  25.      the execution of ``_s_e_t_-_g_r_o_u_p_-_I_D'' mode processes, ggeettggiidd() is used to de-
  26.      termine the real-user-id of the calling process.
  27.  
  28. EERRRROORRSS
  29.      The ggeettggiidd() and ggeetteeggiidd() functions are always successful, and no return
  30.      value is reserved to indicate an error.
  31.  
  32. SSEEEE AALLSSOO
  33.      getuid(2),  setregid(2),  setgid(3)
  34.  
  35. SSTTAANNDDAARRDDSS
  36.      GGeettggiidd() and ggeetteeggiidd() conform to IEEE Std1003.1-1988 (``POSIX'').
  37.  
  38. 4.2 Berkeley Distribution        June 4, 1993                                1
  39.